package com.jic.veteran.service;

import com.jic.veteran.dto.AlumniAddEnterpriseParam;
import com.jic.veteran.dto.AlumniAddNewsParam;
import com.jic.veteran.dto.AlumniAddTeacherParam;
import com.jic.veteran.dto.AlumniSchoolInfoParam;
import com.jic.veteran.model.AlumniEnterpriseInformation;
import com.jic.veteran.model.AlumniSchoolNews;
import com.jic.veteran.model.AlumniSchoolTeachers;

import java.util.List;

/**
 * 文章管理Service
 * Created by mars on 2021/11/23.
 */
public interface AlumniEnterpriseService {

  /**
   * 获取老师分页.
   */
  List<AlumniEnterpriseInformation> getPage(Integer pageSize, Integer pageNum, String enterpriseName, Integer status);

  /**
   * 修改新闻展示状态.
   * @param  id
   * @param status
   * @return count
   */
  int upEnterpriseStatus(Integer id, Integer status);

  /**
   * 新增news.
   * @param  alumniAddEnterpriseParam
   * @return count
   */
  int addEnterprise(AlumniAddEnterpriseParam alumniAddEnterpriseParam);

  /**
   * 修改news.
   * @param  id,alumniAddNewsParam
   * @return count
   */
  int aditEnterprise(Integer id , AlumniAddEnterpriseParam alumniAddEnterpriseParam);


  /**
   * 删除news.
   * @param  id
   * @return count
   */
  int deleteEnterprise(Integer id);


}
